﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Treely.Data.Model.Abstract;

namespace Treely.Data.Model
{
    public class UserChild : AuditObject
    {
        [Key]
        public int UserChildId { get; set; }

        public virtual ApplicationUser Parent { get; set; }

        [ForeignKey("Parent")]
        public string ParentId { get; set; }
    }
}